import request from '@/utils/request'

// 查询审核项目列表
export function listAuditProject(query) {
  return request({
    url: '/t/auditProject/list',
    method: 'get',
    params: query
  })
}

// 查询审核项目详细
export function getAuditProject(id) {
  return request({
    url: '/t/auditProject/' + id,
    method: 'get'
  })
}

// 新增审核项目
export function addAuditProject(data) {
  return request({
    url: '/t/auditProject',
    method: 'post',
    data: data
  })
}

// 修改审核项目
export function updateAuditProject(data) {
  return request({
    url: '/t/auditProject',
    method: 'put',
    data: data
  })
}

// 删除审核项目
export function delAuditProject(id) {
  return request({
    url: '/t/auditProject/' + id,
    method: 'delete'
  })
}
